layui.use(['laydate'], function () {
    var laydate = layui.laydate;

    //初始化laydate实例
    laydate.render({
        elem: '#laydate1'
    });
    laydate.render({
        elem: '#laydate2'
    });
});